#ifndef __INTERNAL_HTML
#define __INTERNAL_HTML
#include <iostream>
#include <string>
#include <sstream>

#define SHELF_HOME "<html><head><title>Welcome to Shelf!</title><style>#header{font-size:100px;} body{font-family: courier new;background: #ffffff;}#textbox{width: 800px;margin-left: auto;margin-right: auto;}#bottombox{position: absolute;height: 30px;bottom: 0px;width: 100%;font-family: courier new;font-size: 9px;color: #333;float: none;}</style></head><body><center><div id='header'><b>Shelf</b></div><br></center><div id='textbox'>Welcome to Shelf!<br><br>Here's a couple of commands to get you started:<br><br><b>new</b> opens new shelf(optionally include a url to open)<br><b>ls</b> list currently open shelves<br><b>info</b> some interesting information on the shelf you're currently viewing<br><b>quit</b> i'm sure you don't even need this one<br></div><div id='bottombox'><center>take your buttons and stick them where the sun doesn't shine!</center></div></body></html>"

struct Style
{
    std::string css_font_size;
    std::string css_font_family;
    std::string css_color;
    std::string css_background;
    std::string css_float;
    std::string css_background_image;
    std::string css_background_repeat;
    std::string css_top;
    std::string css_bottom;
    std::string css_left;
    std::string css_right;
    std::string css_position;
    int css_z_index;
    std::string css_font_weight;
    std::string css_text_align;
};

class InternalHTML
{
    public:
        InternalHTML(std::string title, std::string text);
        void setTitle(std::string title);
        void addText(std::string text);
        void clearText();
        std::string constructHTML();
    private:
        std::string title;
        std::string text;
};

#endif
